package newfeatures.lambda;

/**
 * 函数接口
 * 一定要添加@FunctionalInterface
 */
@FunctionalInterface
public interface OperatorFunction<R, T> {
    R operator(T t1, T t2);

    default int return1() {
        return 1;
    }
}
